package com.googlecode.vmock.exceptions;

import com.googlecode.vmock.matchers.Matcher;
import com.googlecode.vmock.matchers.ranking.MatcherRanking;

/**
 * Exception thrown when the end-user tries to add a new {@link Matcher} to the {@link MatcherRanking} with a priority that is already taken by
 * another matcher.
 * 
 * @author marcin.jagus
 */
public class MatcherRankingAlreadyTakenException extends RuntimeException {

    private static final long serialVersionUID = 1L;

    /**
     * Creates new exception objects with a given message.
     * 
     * @param message Given message
     */
    public MatcherRankingAlreadyTakenException(String message) {
        super(message);
    }
}
